package com.Apo1o.service;

import com.Apo1o.bean.ManagerFenceHouse;
import com.Apo1o.bean.ManagerHurdles;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @Auther: Apo1o.
 * @Date: 2023/10/31-10-31-14:50
 * @Description： com.Apo1o.service
 */

public interface IFenceHouseService {
      //分页（按关键字搜索）
      PageInfo<ManagerFenceHouse> query(Integer pageNum,Integer pageSize, String fhName);
      //根据id删除
      void deleteById(String id);

      //批量删除
      void deleteByBatch(List<String> list);
      //更新或者新增
      void saveOrUpdate(ManagerFenceHouse managerFenceHouse);

      List<ManagerFenceHouse> rnm();
      List<ManagerHurdles> selectById(String hId);



}
